package api

import (
	"github.com/gin-gonic/gin"
	"zg3zhoukao/api/handler"
)

func LoadRouter(c *gin.Engine) {
	c.POST("/api/c/article/add", handler.ArticleAdd)
	c.POST("/api/c/article/history", handler.ArticleHistory)
	c.POST("/api/c/article/good", handler.ArticleGood)

	c.POST("/api/c/article/review/add", handler.ReviewAdd)

	c.POST("/api/c/article/reviewadd/add", handler.ReviewAddAdd)

	c.POST("/api/c/article/review/good", handler.ReviewGood)

	c.POST("/api/c/article/list", handler.ArticleList)

	c.POST("/api/c/article/review/del", handler.ReviewDel)
}
